﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyLib.MyBase.MyWeb;
using MyChocCuoi.Setting;
using MyLoad.LoadStatic;
namespace MyLoad.LoadMember
{
    public class LShowImageUpload:MyLoadWeb
    {
        public LShowImageUpload(MyASHX CurrentPage)
        {
            this.CurrentPage = CurrentPage;
            TemplatePath = "~/Templates/Member/ImageUpload.html";
            Init();
        }
        // Hàm trả về chuỗi có chứa mã HTML
        protected override string BuildHTML()
        {
            try
            {
                if (WebSetting.MemberLogined.IsNull)
                {
                    LError mNote = new LError(CurrentPage, LError.ErrorType.NotLogin, true);
                    return mNote.GetHTML();
                }
                else
                {
                    string[] arr = { };
                    return LoadTemplate(TemplatePath);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
